package com.meals.system.common;

/**
 * Description:
 * Parm:
 * return:
 * Author: Chen
 * Date: 2021/12/7
 */
public class SystemException extends RuntimeException{
    public SystemException(){

    }
    public SystemException(String message){
        super(message);
    }

    /**
     * 丢出一个异常
     *
     * @param message
     */
    public static void fail(String message){
        throw new SystemException(message);
    }
}
